using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace WXWorkSvc.Common.Pages.Logger;

public class IndexModel : PageModel
{
    public IActionResult OnGet()
    {

        TempData["ReturnUrl"] = Request.Headers["Referer"].FirstOrDefault() ?? "/";
        return RedirectToPage("./List");
    }
}
